/*
 * 描述： TUEF用戶基本信息Service實現類
 * 修改人： Weng.weng
 * 修改时间： Jan 7, 2019
 * 项目： los-core
 */
package com.aeasycredit.credit.tuef.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aeasycredit.credit.tuef.dao.TuefBasicDao;
import com.aeasycredit.credit.tuef.model.TuefBasic;
import com.aeasycredit.credit.tuef.service.TuefBasicService;

/**
 * TUEF用戶基本信息Service實現類<br>
 * 
 * @author Weng.weng
 * @version [版本号, Jan 7, 2019]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@Service
public class TuefBasicServiceImpl implements TuefBasicService {
    
    @Autowired
    private TuefBasicDao tuefBasicDao;
    
    @Override
    public TuefBasic getTuefBasic(String userId, String tuefId) {
        return tuefBasicDao.getModelByUserIdAndTuefId(userId, tuefId);
    }

    @Override
    public List<TuefBasic> getTuefBasicByUserId(String userId) {
        return tuefBasicDao.selectByUserId(userId);
    }
    
}
